<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>菜鸟教程(runoob.com)</title>
</head>
<body>

<h1 onclick="this.innerHTML='新的文本节点!'">点击文本!</h1>

</body>
</html>